#ifndef CTEXTURE_H
#define CTEXTURE_H

#include <string>
#include <GL/glew.h>
#include <ImageMagick/Magick++.h>


class CTexture
{
    public:
        CTexture(GLenum TextureTarget, const std::string& FileName);

    bool Load();

    void Bind(GLenum TextureUnit);

    private:

    std::string m_fileName;
    GLenum m_textureTarget;
    GLuint m_textureObj;
    Magick::Image* m_pImage;
    Magick::Blob m_blob;
};

#endif
